package com.pg.agent.engine.service.service;


import com.pg.agent.engine.client.message.InPutMessage;
import com.pg.agent.engine.client.model.SessionObject;
import com.pg.agent.engine.client.model.agent.AIAgent;
import com.pg.agent.engine.client.model.environment.AIEnvironment;
import com.pg.agent.engine.client.model.llm.ComponentLLM;
import com.pg.agent.engine.client.model.sop.Memory;

import java.util.List;

public interface AIEnvironmentService {

 //   void updateMemory(AIAgentSession session, Memory memory, ManagerObject managerObject, Long saasAppId, Integer exeType, Integer type);

    void updateMemory(InPutMessage inPutMessage, Memory memory, SessionObject sessionObject);

    String summary(AIEnvironment aiEnvironment, InPutMessage inPutMessage, ComponentLLM llm);

    Integer getAgentLastConversationIdx(AIAgent agent, List<Memory> currentLongTermMemoryList);

    Memory observe(AIEnvironment environment, AIAgent agent, InPutMessage message);

    String getAgentNewMemory(List<Memory> currentLongTermMemoryList);

    List<Double> getEmbedding(AIEnvironment environment, String content);
}
